package com.woniuxy.commons.entity.purchaseManager;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * (DemandGoods)实体类
 *
 * @author makejava
 * @since 2022-04-21 23:33:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("demand_goods")
public class DemandGoodsEntity implements Serializable {
    private static final long serialVersionUID = -35695022052465265L;

    /**
     * 具体需求单号的ID
     */
    @TableId(value = "goods_id",type = IdType.AUTO)
    private Integer goodsId;
    /**
     * 商品编码
     */
    @TableField("good_code")
    private String goodsCode;
    /**
     * 商品名字
     */
    @TableField("good_name")
    private String goodsName;
    /**
     * 供应商
     */
    @TableField("supplier")
    private String supplier;
    /**
     * 克重范围
     */
    @TableField("gram_weight")
    private String gramWeight;
    /**
     * 重量
     */
    @TableField("weight")
    private Double weight;
    /**
     * 数量
     */
    @TableField("amount")
    private Integer amount;
    /**
     * 工艺
     */
    @TableField("craft")
    private String craft;
    /**
     * 规格
     */
    @TableField("specification")
    private String specification;
    /**
     * 克重开始（范围）
     */
    @TableField("gram_start")
    private Double gramStart;
    /**
     * 克重结束 （范围）
     */
    @TableField("gram_end")
    private Double gramEnd;


}

